package com.way.Java多线程编程核心技术v2.chapter02_对象及变量的并发访问._2_2_synchronized同步语句块.静态同步synchronized方法与synchronized_class_代码块;


/**
 * @author 魏彪
 */
public class ThreadC extends Thread{

    private Service01 service01;

    public ThreadC(Service01 service01) {
        this.service01 = service01;
    }

    @Override
    public void run() {
        service01.printA();
    }
}
